home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / Install / program files / Borland / BDS / 3.0 / Objrepos / CSharp / WebService.asmx.cs < prev    next >
Encoding:
INI File  |  2004-10-22  |  1.5 KB  |  75 lines

  1. [!outputon]
  2. using System;
  3. using System.Collections;
  4. using System.ComponentModel;
  5. using System.Data;
  6. using System.Diagnostics;
  7. using System.Web;
  8. using System.Web.Services;
  9.  
  10. namespace [!Namespace]
  11. {
  12.     /// <summary>
  13.     /// Summary description for [!ClassName].
  14.     /// </summary>
  15.     public class [!ClassName]: System.Web.Services.WebService
  16.     {
  17.         public [!ClassName]()
  18.         {
  19.             //
  20.             // CODEGEN: This call is required by the ASP.NET Web Services Designer
  21.             //
  22.             InitializeComponent();
  23.         }
  24.  
  25.         #region Web Form Designer generated code
  26.  
  27.         //Required by the Web Services Designer
  28.         private IContainer components = null;
  29.  
  30.         /// <summary>
  31.         /// Required method for Designer support - do not modify
  32.         /// the contents of this method with the code editor.
  33.         /// </summary>
  34.         private void InitializeComponent()
  35.         {
  36.         }
  37.  
  38.         /// <summary>
  39.         /// Clean up any resources being used.
  40.         /// </summary>
  41.         protected override void Dispose( bool disposing )
  42.         {
  43.             if(disposing && components != null)
  44.             {
  45.                 components.Dispose();
  46.             }
  47.             base.Dispose(disposing);
  48.         }
  49.  
  50.         #endregion
  51.  
  52.         // Sample Web Service Methods
  53.         // The following methods are provided to allow for testing a new web service.
  54.         // To test, uncomment these lines, save, and build the project.
  55.         // This code may safely be deleted.
  56.  
  57.         /*
  58.         [WebMethod]
  59.         public string HelloWorld()
  60.         {
  61.             return "Hello World";
  62.         }
  63.  
  64.         [WebMethod]
  65.         public string EchoString(string strInput)
  66.         {
  67.             return strInput;
  68.         }
  69.  
  70.         */
  71.  
  72.     }
  73. }
  74.  
  75.